package com.ttj.mapper.oracle;

import java.util.List;
import java.util.Map;

import com.ttj.domain.oracle.SysconfBranch;
import com.ttj.mapper.oracle.gen.SuperSysconfBranchMapper;

public interface SysconfBranchMapper extends SuperSysconfBranchMapper {

	/**
	 * 收购员绑定省市
	 * @param map 收购员|区域
	 * @return
	 */
	List<SysconfBranch> getDistrict(String username);
	/**
	 * 收购员绑定区县
	 * @param map 收购员|区域
	 * @return
	 */
	List<SysconfBranch> getArea(Map<String,Object> map);
	/**
	 * 收购员绑定街道
	 * @param map 收购员|区域
	 * @return
	 */
	List<SysconfBranch> getStreet(Map<String,Object> map);
	/**
	 * 收购员绑定小区
	 * @param map 收购员|区域
	 * @return
	 */
	List<SysconfBranch> getCommunity(Map<String,Object> map);
	
	/**
	 * 获取网点地址ID
	 * @param community
	 * @return
	 */
	SysconfBranch getAddrId(String community);
}